package com.lyz.dataStructure.dome.CollectionDemo;/**
 * @Author:759057893@qq.com Lyz
 * @Date: ${Date} 21:23
 * @Description:
 **/

import java.util.ArrayList;
import java.util.LinkedList;

/**
 *@Author:759057893@qq.com Lyz
 *@Date: 2019/8/25 21:23
 *@Description:
 **/
public class ArrayListDemo3 {
    public static void main(String[] args) {
        ArrayList alist = new ArrayList();
        for(int i =0;i<30;i++){
            alist.add("a"+i);
        }
        System.out.println(alist);
        LinkedList llist = new LinkedList<>();
        for(int i =0;i<30;i++){
            llist.add("a"+i);
        }
        System.out.println(llist);
    }
}
